public class Demo2 {
    public static void main(String[] args) {
        int n = 5;
        int ret = 1;
        do {
            ret*=n;
            n--;
        }while(n>0);
        System.out.println(ret);
    }
}
